<script setup lang="ts">
    import Child from "@/components/Child.vue";
    const state = {
        userName:"zhangsan",
        age:12,
        hobby:"游戏"
    }
</script>

<template>
    <h3>App</h3>
    <hr/>
    <Child v-bind="state"/>
</template>

<style scoped>

</style>